package net.uhuijia.vo;

import net.uhuijia.enums.MoreInfo;

import java.util.List;

/**
 * 返回集合封装
 * @param <T>
 */
public class ReturnListVo<T> {

    private List<T> list; //泛型集合类
    private Integer count; // 条数
    private MoreInfo isMore; //是否更多

    public ReturnListVo() {
    }

    public ReturnListVo(List<T> list) {
        this.list = list;
    }

    public ReturnListVo(List<T> list, int count, MoreInfo isMore) {
        this.list = list;
        this.count = count;
        this.isMore = isMore;
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public MoreInfo getIsMore() {
        return isMore;
    }

    public void setIsMore(MoreInfo isMore) {
        this.isMore = isMore;
    }
}
